package com.glorystone.ins.dao;

import com.glorystone.ins.domain.NoticeRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by wangwei on 2018/3/27.
 */
public interface NoticeRoleMapper {

    /**
     * 查询节点的通知信息
     * @param nodeId
     * @param reason
     * @return
     */
    List<NoticeRole> findByNodeIdAndReason(@Param("nodeId") Integer nodeId, @Param("reason") Integer reason);
}
